package org.red5.acs.dataSet;

import java.util.ArrayList;


public class soRoom {
	public String soName;
	public ArrayList<User> soOnlines = new ArrayList<User>();
	
	public void removeUserFromRoom(String uid){
		try{
			int length = soOnlines.size();  
	        for(int i = 0; i < length; i++)
	        {
	        	if(soOnlines.get(i).id.equals(uid)){
	        		soOnlines.remove(i);
	        	}
	        }
		}catch (Exception e) {
			System.out.println("removeUserFromRoom error");
			// TODO: handle exception
		}
	}
}
